﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.ERPModels.Production.ProductionManagement
{
    /// <summary>
    /// 生产报工
    /// </summary>
    public class ProductionReport : Entity<int>
    {

        /// <summary>
        /// 报工类型（正常报工/返工报工/补报工等）
        /// </summary>
        public string ReportType { get; set; }

        /// <summary>
        /// 工作站名称
        /// </summary>
        public string WorkstationName { get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        public string WorkOrderNumber { get; set; }

        /// <summary>
        /// 产品物料编码
        /// </summary>
        public string ProductMaterialCode { get; set; }

        /// <summary>
        /// 产品物料名称
        /// </summary>
        public string ProductMaterialName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 报工数量
        /// </summary>
        public int ReportedQuantity { get; set; }

        /// <summary>
        /// 报工人姓名
        /// </summary>
        public string Reporter { get; set; }

        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime ReportTime { get; set; }

        /// <summary>
        /// 审核人姓名
        /// </summary>
        public string Auditor { get; set; }

        /// <summary>
        /// 状态（待审核/已审核/已驳回）
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 记录人姓名
        /// </summary>
        public string Recorder { get; set; }

        /// <summary>
        /// 记录创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 记录更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
